package com.uzhie.web.dao;

import com.uzhie.jt808.jt1078.entity.JT_8702;
import org.apache.ibatis.session.RowBounds;
import tk.mybatis.mapper.common.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Created by zhangdequan on 2018/8/18.
 */
public interface JT_8702DAO extends Mapper<JT_8702> {


    /**
     * 根据条件查询上下线数据
     * @param userId
     * @param status
     * @param beginTime
     * @param endTime
     * @param driver
     * @param orgName
     * @param rowBounds
     * @return
     */
    List<Map> selectAllRecordByCondition(@Param(value = "userId") String userId,
                                         @Param(value = "status") int status,
                                         @Param(value = "beginTime") String beginTime,
                                         @Param(value = "endTime") String endTime,
                                         @Param(value = "driver") String driver,
                                         @Param(value = "orgName") String orgName,
                                         RowBounds rowBounds
                                            );

}
